import service from "@/utils/request";
// 登录请求方法
export const loginApi = data => {
  return service({
    url: '/frame/login',
    method: 'post',
    data
  })
}

// 获取用户资料
export const getUserProfilApi = () => {
  return service({
    url: '/frame/profile',
    method: 'post'
  })
}